{# The meeting calendar's month (``meeting_calendar``), one grid for Overseer's Calendar and the Meetings page: whole weeks, Monday to Sunday in the viewer's time zone, each meeting a line in its agent's color, a dot for where it stands and the rest on hover; one the agent was sent into opens where its page opens meetings (swapped in, ``opens_here``, when that is the page itself). Moving a month or picking an agent swaps ``target``. On a phone the grid is a list of the days that have meetings, and today. #} {% from "components/macros/layout.html" import chip %} {% macro month(cal, target, opens_here=False) %}
← Today →

{{ cal.month_label }}

{% for name in cal.weekdays %} {% endfor %} {% for d in cal.days %}

{{ d.label }}

{% for e in d.entries %}
{{ e.time }} {% if e.opens %}{{ e.title }}{% else %}{{ e.title }}{% endif %}
{% endfor %}
{% endfor %}
{% endmacro %}